//
//  YBAFNetWorkingTool.h
//  ZhongWangYuanApp
//
//  Created by apple on 18/6/2.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^NetBlock)(id object);

@interface YBAFNetWorkingTool : NSObject

+ (void)postWithUrlString:(NSString *)url
                Parameter:(NSDictionary *)parameter
                  Success:(NetBlock)successBlock
                     Fail:(NetBlock)failBlock;

+ (void)loginPostWithUrlString:(NSString *)url Parameter:(NSDictionary *)parameter Success:(NetBlock)successBlock Fail:(NetBlock)failBlock;

@end
